package part1.oo.ooday02.ooday02test;

public class PersonTest {
    public static void main(String[] args) {
        Student student = new Student("zs",35,"北京","jsd2302","001");
        student.eat();
        student.sleep();
        student.study();

        Teacher teacher = new Teacher("ls",24,"上海",250);
        teacher.eat();
        teacher.sleep();
        teacher.teach();

        Doctor doctor = new Doctor("ww",34,"重庆","主任医师");
        doctor.eat();
        doctor.sleep();
        doctor.cut();
    }
}
